package dto

import common "vrcm/src/vrcm/common/models"

type StartRecordReq struct {
	TenantId   string `json:"tenant_id" comment:"租户id"  validate:"required"`
	BasicId    int    `json:"basic_id" comment:"基本信息id"  validate:"required"`
	RecordName string `json:"record_name" comment:"录制任务名称"  validate:"required"`
	common.ControlBy
}

type StopRecordReq struct {
	TenantId string `json:"tenant_id" comment:"租户id"  validate:"required"`
	BasicId  int    `json:"basic_id" comment:"基本信息id"  validate:"required"`
}

type DeleteRecordReq struct {
	FileId string `json:"file_id" comment:"录制任务id"  validate:"required"`
}

type RecordFileCallBack struct {
	FileId    string `json:"id"`
	LiveId    string `json:"liveId"`
	TaskId    string `json:"record_id"`
	Path      string `json:"path"`
	Tag       string `json:"tag"`
	StartTime string `json:"startTime"`
	EndTIme   string `json:"endTIme"`
	Duration  string `json:"duration"`
}

type T struct {
	Id        string `json:"id"`
	LiveId    string `json:"liveId"`
	Path      string `json:"path"`
	StartTime string `json:"startTime"`
	EndTIme   string `json:"endTIme"`
	Duration  string `json:"duration"`
	RecordId  string `json:"record_id"`
}
